package com.zjc.yohoshop.mvp.model;

import com.zjc.lib_core.http.MResponseManager;
import com.zjc.lib_core.mvp.model.BaseModel;
import com.zjc.yohoshop.bean.SeeCategoryEntity;
import com.zjc.yohoshop.mvp.contract.SeeFragmentContract;
import com.zjc.yohoshop.network.API;

import javax.inject.Inject;

import io.reactivex.Observable;

public class SeeFragmentModel extends BaseModel implements SeeFragmentContract.SeeFragmentIModel {

    @Inject
    public SeeFragmentModel(){}

    @Override
    public Observable<SeeCategoryEntity> seeCategort(String request) {
        return MResponseManager.obtainRetrofit(API.class).see_category_request(request);
    }

    @Override
    public void destroy() {

    }

}
